using Microsoft.Xna.Framework;

namespace BlobSim
{
    class GameState
    {
        public ObjectRotation ObjectRotation;
        public float RotationSwipeResolutionFactor;

        public CameraOrientation CameraOrientation;
        public float CameraDistance;
        public float CameraSwipeResolutionFactor;

        public GameState()
        {
            SetDefaultValues();
        }

        public void Reset()
        {
            SetDefaultValues();
        }

        private void SetDefaultValues()
        {
            ObjectRotation = new ObjectRotation();
            RotationSwipeResolutionFactor = 200.0f;

            CameraOrientation = new CameraOrientation();
            CameraDistance = 5.0f;
            CameraSwipeResolutionFactor = 800.0f / MathHelper.ToRadians(60.0f);
        }
    }
}
